<?php
include_once $_SERVER['DOCUMENT_ROOT'].'/ad/sys/com/model/util/Util.php';
@session_start();
$managerAccount=Util::jsonToArray($_SESSION["managerAccount"]);
$payTotalSum=0;
$notPayTotal=0;
$accoutDetail=null;
//echo Util::toJson($managerAccount);
//echo count($managerAccount);
foreach($managerAccount as $value){
	if($value["Status"]==0){
		$notPayTotal+=$value["PayMoney"];
		
	}
	$payTotalSum+=$value["PayMoney"];
	$accoutDetail=$value;
}

	 echo "<script language='javascript'>function getManagerUser(){return '".Util::toJson($accoutDetail)."'.toJSON();}</script>";
?>